import 'package:flutter/material.dart';
import 'package:moose_app/ui/values/values.dart';

class ATHTextMessage extends StatelessWidget {
  final String content;

  ATHTextMessage({@required this.content});

  @override
  Widget build(BuildContext context) {
    return _buildMessageContent();
  }

  Widget _buildMessageContent() => Container(
      padding: EdgeInsets.all(kSize20),
      decoration: BoxDecoration(
          borderRadius: BorderRadius.all(Radius.circular(kSize8)),
          boxShadow: [BoxShadow(color: kColorPrimaryLight)]),
      child: Text(
        content ?? "",
        softWrap: true,
        style: TextStyle(fontSize: kFontSize30),
      ));
}
